Set Rotation Angle and Rotation Angular Velocity
Function:
go.set_rotate(r,Vr)
Description: Set the Rotation Angle and Rotation Angular Velocity of Magician Go
Required parameter:
r: rotation angle; data type: float; unit: °
The current position of Magician Go is 0 °. Positive value of angle means Magician Go rotates counterclockwise; Negative value of angle means Magician Go rotates clockwise.Vr: rotation angular velocity; data type: float; unit: °/s; range: 0 ~ 100°/s
- Return:
- True: The command has been finished.
- False: The command has not been finished.
Example
go.set_rotate(r=20,Vr=10)Set the rotation angle as 20°, and rotation angular velocity as 10°/s.